<?php
	session_start();

	$username=$_SESSION['username'];

	if($username)
	{
		//echo "you are login";
		//echo "welcome $username";
	}
	else
	{
		echo "you are not logged in";
	}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by CGWORLD.ASIA

http://cgworld.asia

Name       : Wellness  
Description: A two-column, fixed-width design with dark color scheme.
Version    : 1.0
Released   : 20100110

-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Wellness   by Free CSS Templates</title>
<link rel="shortcut icon"href="http://www.cgworld.asia/favicon.ico"type="image/x-icon">
<link rel="icon"href="http://www.cgworld.asia/favicon.ico"type="image/x-icon">
<link href="../style.css" rel="stylesheet" type="text/css" media="screen" />
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
</head>
<body>
<div id="wrapper">
	<div id="header-wrapper">
	<div id="header">
		<div id="logo">
			<h1><font color="#FFFFFF">ALMAS </font></h1>
			<p> design by <a href="http://www.iust.ac.ir/">IUST students</a></p>
		</div>
	</div>
	</div>
	<!-- end #header -->
	<div id="page">
	<div id="page-bgtop">
	
	<div id="page-bgbtm">
	
		<div id="content">
		<table border="0">
			<div class="post">
			
				<h2 class="title"><a href="#">Welcome to Almas   </a></h2>
	
                    
					<form name="form1" style="float:none" method="post" action="#">
					
					<tr>
						
							<td><label  style="float:left"for="username">  username :</label></td>
							<td><span id="sprytextfield1">
							  <input name="username" type="text"  />
					  <span class="textfieldRequiredMsg">A value is required.</span></span><br/></td>
						
					</tr>
					<tr>
						
							<td><label  style="float:left"for="password">  password :</label></td>
							<td><span id="sprytextfield2">
                            <input name="password" type="text"  />
                      <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span><br/></td>
						
					</tr>
					<tr>
              
						
							<td><label  style="float:left"for="fullname">  FullName :</label></td>
					  <td><input name="fullname" type="text"  /><br/></td>
						
					</tr>
					<tr>
              
						
							<td><label  style="float:left"for="email">  Email :</label></td>
							<td><input name="email" type="text"  /><br/></td>
						
					</tr>
					<tr>
              
						
							<td><label  style="float:left"for="phonenumber">  PhoneNumber :</label></td>
							<td><input name="phonenumber" type="text"  /><br/></td>
						
					</tr>
					</table>
					
					<div align="center">
                        	<input type="submit" name="buttom" value="Create" />
							
					</div>
					</form>
					
					
			
		</div>
			
			
	
	  </div>
		<!-- end #content -->
		<div id="sidebar">
			<ul>
				
				
				<li>
					<h2>Categories</h2>
					<ul>
						<li><a href="create_account.php">create account</a></li>
						<li><a href="logout.php">log out</a></li>
                        <li><a href="#">You : <?php echo $username; ?></a></li>
						
					</ul>
				</li>
				
			</ul>
		</div>
		<!-- end #sidebar -->
		<div style="clear: both;">&nbsp;</div>
	</div>
	</div>
</div>
	<!-- end #page -->
</div>
<div id="footer">
		<p>buttom of the page </p>
</div>
	
	<!-- end #footer -->
<script type="text/javascript">
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2", "none", {maxChars:50});
</script>
</body>
</html>
